#ifndef QFACEOBJECT_H
#define QFACEOBJECT_H

#include <QObject>
#include <opencv.hpp>
#include <seeta/FaceEngine.h>

//人脸数据存储，人脸检测，人脸识别
class QfaceObject : public QObject
{
    Q_OBJECT
public:
    explicit QfaceObject(QObject *parent = nullptr);
    ~QfaceObject();

public slots:
    //人脸注册
    int64_t face_register(cv::Mat& faceImage);

    //查询人脸
    int64_t face_query(cv::Mat& faceImage);

signals:
    void send_faceid(int64_t faceid);

private:
    seeta::FaceEngine *fengineptr;
};

#endif // QFACEOBJECT_H
